home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / SCHEME / VSCM / doc / INSTALL < prev    next >
Text File  |  1994-08-05  |  2KB  |  36 lines

  1.  
  2. To compile and install VSCM on a Unix-based system
  3.  
  4. 0. unpack the software into an empty directory
  5.    (you've probably already done so, since you are reading this file)
  6.  
  7. 1. edit Makefile
  8.    -- choose options as explained at the beginning of Makefile
  9.    -- choose the right definition of NORETURN (depending on whether you
  10.       using gcc, and if so, which version of gcc)
  11.    -- set value of DDP
  12.      a.    If you do not intend to install the vscm executable into
  13.     /usr/local/bin/scheme but somewhere else, say /x/y/z/w/vscm,
  14.     then you should add the option
  15.         -DDEFAULT_DUMP_PREFIX='"\#!/x/y/z/w/vscm -b"'
  16.     to the definition of DDP.  If you fail to do that the system will
  17.     STILL work CORRECTly, but memory dumps will not be ``executable''.
  18.  
  19.     !!!! This will only work if you use GNU make.  Other make programs
  20.     !!!! treat the # as the beginning of a comment, even though it is
  21.     !!!! guarded by the \ escape.
  22.  
  23.      b.    If you want vscm to load its (default) initialization file from
  24.     /x/y/z/w/vscm-bootfile, then you should add the option
  25.         -DDEFAULT_BOOTFILE='"/x/y/z/w/vscm-bootfile"'
  26.     to the definition of DDP.  The default is .scheme-boot, which
  27.     is a relative pathname.  If you fail to give the correct option
  28.     here, then the system will NOT work CORRECTly unless you provide
  29.     an explicit ``-b'' option every time you run vscm.
  30.  
  31. 2. run make (or better: GNU make if necessary (see above))
  32.  
  33. 3. move the executable ``scheme'' to its dedicated place
  34.  
  35. 4. move the default boot image ``.scheme-boot'' to its dedicated place
  36.